<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title><?php echo $title;?></title>
		
		<?php echo css_asset('styles.css');?>
		<?php echo css_asset('jqx.base.css');?>
		<?php echo css_asset('jqx.energyblue.css');?>
		<?php echo css_asset('jqx.summer.css');?>
		
		<?php echo js_asset('gettheme.js');?>
		<?php echo js_asset('jquery-1.8.0.min.js');?>
		<?php echo js_asset('jqxcore.js');?>
		<?php echo js_asset('jquery.global.js');?>
		
		<?php //echo js_asset('jqx-all.js');?>
		
		<?php echo js_asset('jqxexpander.js');?>
		<?php echo js_asset('jqxnavigationbar.js');?>
		<?php echo js_asset('jqxscrollbar.js');?>
		
		<!-- MENU -->
		<?php echo js_asset('jqxmenu.js');?>
		
		<!-- GRID -->
		<?php echo js_asset('jqxdata.js');?>
		<?php echo js_asset('jqxgrid.js');?>
		<?php echo js_asset('jqxgrid.edit.js');?>
		<?php echo js_asset('jqxgrid.selection.js');?>		
		<?php echo js_asset('jqxgrid.filter.js')?>
		<?php echo js_asset('jqxcheckbox.js');?>
		<?php echo js_asset('jqxgrid.pager.js');?>
		<?php echo js_asset('jqxdropdownlist.js');?>
		
		<!-- RADIO BUTTON -->
		<?php echo js_asset('jqxradiobutton.js');?>
		<?php echo js_asset('jqxbuttons.js');?>
		
		<!-- COMBOBOX -->
		<?php echo js_asset('jqxcombobox.js');?>
		<?php echo js_asset('jqxlistbox.js');?>
		<?php echo js_asset('jqxdropdownlist.js');?>
		
		<!-- VALIDATION -->
		<?php echo js_asset('jqxvalidator.js');?>
		
		<!-- WINDOW -->
		<?php echo js_asset('jqxwindow.js');?>
		
		<!-- TAB -->
		<?php echo js_asset('jqxtabs.js');?>
		
		<?php //echo js_asset('liveclock.js');?>
		
		<?php //echo js_asset('generatedata.js');?>
		
		
		<script type="text/javascript">
			var theme = 'summer';

			function show(){
				var DaysOfWeek = new Array(7);
					DaysOfWeek[0] = "Minggu";
					DaysOfWeek[1] = "Senin";
					DaysOfWeek[2] = "Selasa";
					DaysOfWeek[3] = "Rabu";
					DaysOfWeek[4] = "Kamis";
					DaysOfWeek[5] = "Jum'at";
					DaysOfWeek[6] = "Sabtu";
	
				var MonthsOfYear = new Array(12);
					MonthsOfYear[0] = "Januari";
					MonthsOfYear[1] = "Februari";
					MonthsOfYear[2] = "Maret";
					MonthsOfYear[3] = "April";
					MonthsOfYear[4] = "Mei";
					MonthsOfYear[5] = "Juni";
					MonthsOfYear[6] = "Juli";
					MonthsOfYear[7] = "Agustus";
					MonthsOfYear[8] = "September";
					MonthsOfYear[9] = "Oktober";
					MonthsOfYear[10] = "November";
					MonthsOfYear[11] = "Desember";
					
				if (!document.all&&!document.getElementById)
					return
				thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2;
				var Digital=new Date();
				
				var day = Digital.getDay();
				var mday = Digital.getDate();
				var month = Digital.getMonth();
				var year = Digital.getFullYear();
				
				var hours=Digital.getHours();
				var minutes=Digital.getMinutes();
				var seconds=Digital.getSeconds();
				var dn="PM";
				if (hours<12)
				dn="AM";
				if (hours>12)
				hours=hours-12;
				if (hours==0)
				hours=12;
				if (minutes<=9)
				minutes="0"+minutes;
				if (seconds<=9)
				seconds="0"+seconds;
				var ctime=DaysOfWeek[day]+", "+mday+" "+MonthsOfYear[month]+" "+year+" - "+hours+":"+minutes+":"+seconds+" "+dn;
				thelement.innerHTML=ctime;
				setTimeout("show()",1000);
			}
			window.onload=show;
		</script>
		
	</head>
	<body>
		<div id="topContentWrap">
			<div id="topContent">
				<div style="width:400px;height:110px;float:left">
					<img src="<?php echo image_asset_url('yamahalogo02.png');?>" />
				</div>
				<div style="width:300px;height:60px;float:right;padding-top:50px;">
					<!-- <div id="LiveClock"></div> -->
					<font style="font-family:Verdana, Geneva, sans-serif; font-size:12px;">
					<span id="tick2"></span><br/>
					Welcome <?php echo $this->session->userdata('user_name');?> | <?php echo $this->session->userdata('group_name');?><br/>
					<?php echo anchor('c=welcome&m=logout','Logout');?>
					</font>
				</div>
			</div>
			<div id="topContentSidebar">
				<?php echo $sidebar;?>
			</div>
		</div>
		<div id="middleWrap">
			<div id="titleMiddlePanel"></div>
			<div id="middlePanel">
				<!-- Panel Process -->
			</div>
		</div>
		<div id="footWrap">
			<div id="footPanel">
				<div id="footNav">
					<!-- <ul>
						<li><a href="#">Client Testimonials</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Latest Events</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Our Online Support</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Solutions</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Forum</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">What Our Future Plans</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Projects</a></li>
						<li><div class="blank">|</div></li>
						<li><a href="#">Contact Us</a></li>
					</ul> -->
					<a href="#">About</a> | <a href="#">Technical Team</a> | <a href="#">Releases</a> | <a href="#">News</a> | <a href="#">Roadmap</a> | <a href="#">Contact Us</a>
				</div>
				<div class="clear"></div>
				<div id="copyright">(c) Copyright @ Yamaha Musical Products Indonesia (YMPI), 2012. All Rights Reserved.</div>
				<!-- <p>Designed By: <a href="http://www.templateworld.com/">TemplateWorld</a> and brought to you by <a href="http://www.smashingmagazine.com">SmashingMagazine</a></p> -->
				<div class="clear"></div>
				<!-- <div id="validation">
					<ul>
						<li><a href="http://validator.w3.org/check?uri=referer">xhtml valid</a></li>
						<li><div class="blank"></div></li>
						<li><a href="http://jigsaw.w3.org/css-validator/check/referer">css valid</a></li>
					</ul>
				</div> -->
			</div>
		</div>
	</body>
</html>  